from graph import*
windowSize(500,500)
x=int(input("x="))
y=int(input("y="))
n=int(input("n="))
if x*n>499 or x>499 or x<0 or y>499 or y*n>499 or y<0 or y*n<0 or n==0:
    print("инвилид синтаксис")
penColor(255,0,0) 
brushColor(255,0,0)
polygon( [(x,y),(x-50*n,y+100*n), (x+70*n,y+100*n), (x,y)] )
run()
